#include <QMainWindow>
#include <QMenuBar>
#include <QVBoxLayout>
#include "PaintWidget.h"

class PaintWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    PaintWindow(QWidget* parent = 0);
    //~PaintWindow();
    
private:
    QMenu* fileMenu;
    QMenu* toolMenu;
    QMenu* colorMenu;
    QAction* actionNew;
    QAction* actionSave;
    QAction* actionOpen;
    QAction* actionQuit;
    QAction* toolBrush;
    QAction* toolLine;
    QAction* toolCurve;
    QAction* colorRed;
    QAction* colorBlue;
    QAction* colorBlack;
    QAction* colorGreen;
    PaintWidget* paintWidget;

private slots:
    void newImage();
    void openImage();
    void saveImage();
    void setTool();
    void setColor();
};
